<HTML>
<HEAD>
<title>DataIO.packRecid - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href="index.html">DataIO</a>&nbsp;/&nbsp;<a href=".">packRecid</a><br/>
<br/>
<h1>packRecid</h1>
<a name="org.mapdb.DataIO$packRecid(org.mapdb.DataOutput2, kotlin.Long)"></a>
<code><span class="keyword">static</span> <span class="keyword">fun </span><span class="identifier">packRecid</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.DataIO$packRecid(org.mapdb.DataOutput2, kotlin.Long)/out">out</span><span class="symbol">:</span>&nbsp;<a href="../-data-output2/index.html"><span class="identifier">DataOutput2</span></a><span class="symbol">, </span><span class="identifier" id="org.mapdb.DataIO$packRecid(org.mapdb.DataOutput2, kotlin.Long)/value">value</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
<p>Pack RECID into output stream with 3 bit checksum. It will occupy 1-10 bytes depending on value (lower values occupy smaller space) </p>
<h3>Parameters</h3>
<a name="out"></a>
<code>out</code> - String to put value into <br/>
<br/>
<a name="value"></a>
<code>value</code> - to be serialized, must be non-negative <br/>
<h3>Exceptions</h3>
<a name="java.io.IOException"></a>
<code>java.io.IOException</code> - in case of IO error<br/>
<br/>
<br/>
</BODY>
</HTML>
